<template>
    <div class="view">
        <div class="TreeView">
            <treeView ref="TreeView" nodeKey="cityCode" :labelKey="'cityName'" :data="china"></treeView>
        </div>
    </div>
</template>

<script>
import treeView from './treeindex.vue'
import china from '../../assets/china.json'
export default {
    components: { treeView },
    data() {
        return {
            china: china,
        }
    },
    methods: {
    }

}
</script>
<style lang="less" scoped>
.TreeView {
    height: 100%;
    overflow-y: auto;
}
</style>
